package com.wn.class30.service;

import com.wn.class30.entity.Business;

import java.util.List;
import java.util.Map;

public interface BusinessService {
    List<Business> selectBusiness(Map<String, String> map)throws Exception;

    Long selectBusinessCount(Map<String, String> map)throws Exception;

    Business selectBusinessById(Integer id)throws Exception;

    void updateBusinessById(Business business)throws Exception;

    void deleteBusinessById(Integer id)throws Exception;

    Integer insertBusiness(Business business)throws Exception;
}
